package com.xiangxiao.rpan.authority.dto;

import com.xiangxiao.rpan.authority.enums.FuncPermissionEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @auther xiangxiao
 * @email 573768011@qq.com
 * @data 2023/3/17 16:15
 */
@Data
public class FuncPermissionDto implements Serializable {
  private static final long serialVersionUID = -2121919230834553198L;
  private Long id;
  private String funcType;
  private Long funcId;
  private FuncPermissionEnum funcPermission = FuncPermissionEnum.READ;
  private List<FuncPermissionEnum> funcPermissions;
  private Long userId;
  private List<Long> userIds;
  private List<Long> orgIds;
  private String keys;
  private List<Long> funcIds;
  private Boolean splitUsers = Boolean.TRUE;
}
